package com.wxm.api.exception;

/**
 * <p>
 *      Crawler异常类
 * </p>
 *
 * @author wxm
 * @Date 2021/9/29
 */
public class CrawlerException extends RuntimeException{
    private CrawlerException(String msg){
        super(msg);
    }

    public static void error(String msg){
        throw new CrawlerException(msg);
    }
}